const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  // 使打出来的包可以被部署在任意路径
  publicPath: process.env.NODE_ENV === 'production' ? './' : '/',

  pluginOptions: {
    windicss: {
      transformCSS: 'pre'
    }
  }
})
